<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link rel="stylesheet" href="../static/css/login.css">
</head>
<body>
<div class="login-box">
    <form action="/register" method="POST">
        <label for="username">用户名:</label>
        <input type="text" id="username" name="username" value="{{ username if username else '' }}"><br><br>
        <label for="password">密码:</label>
        <input type="password" id="password" name="password"><br><br>
        <input type="submit" value="注册">
    </form>
</div>
</body>
</html>